<template>
	<view class="news">
		<news-nav></news-nav>
		<news-content :list="newsList"></news-content>
		<tab></tab>
	</view>
</template>

<script>
	import tab from '../../components/tab.vue'
	import newsNav from '../../components/newsNav.vue'
	import newsContent from '../../components/newsContent.vue'
	export default {
		components:{
			tab,newsNav,newsContent
		},
		data() {
			return {
				newsList:[
					{
						id:1,
						name:'赵敏',
						time:'8-3',
						content:'小子,交出屠龙刀饶你不死'
					},
					{
						id:2,
						name:'白眉鹰王',
						time:'8-2',
						content:'外孙,姥爷也玩抖音了,快来给我点赞'
					},
					{
						id:1,
						name:'周芷若',
						time:'8-1',
						content:'张无忌,关注我就送倚天剑哦'
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	page{
		width: 100%;
		height: 100%;
	}
	.news{
		width: 100%;
		height: 100%;
		background-color: #000000;
		color: #ffffff;
	}
</style>
